Get Contract ABI
Returns all HNS-associated domains that an Account ID owns.
Path Parameters
- account_id string required
A Hedera account ID.
 - network string required
Network to query. Valid parameters are:
testnet,mainnet. 
Responses
- 200
 - 400
 
Success
- application/json
 
- Schema
 - Example (from schema)
 
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "type": "array",
  "items": {
    "anyOf": [
      {
        "$ref": "#/definitions/Welcome5Class"
      },
      {
        "type": "null"
      }
    ]
  },
  "definitions": {
    "Welcome5Class": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "idx": {
          "type": "integer"
        },
        "account_id": {
          "$ref": "#/definitions/AccountID"
        },
        "created_timestamp": {
          "type": "string",
          "format": "date-time"
        },
        "token_id": {
          "$ref": "#/definitions/TokenID"
        },
        "serial_number": {
          "type": "integer"
        },
        "delegating_spender": {
          "type": "null"
        },
        "deleted": {
          "type": "boolean"
        },
        "metadata": {
          "type": "string"
        },
        "modified_timestamp": {
          "type": "string",
          "format": "date-time"
        },
        "network": {
          "$ref": "#/definitions/Network"
        },
        "full_nft_id": {
          "type": "string"
        },
        "topic_id": {
          "$ref": "#/definitions/TopicID"
        },
        "paymenttransaction_id": {
          "type": "string"
        },
        "topictransaction_id": {
          "type": "string"
        },
        "domain": {
          "type": "string"
        },
        "tld_hash": {
          "$ref": "#/definitions/TLDHash"
        },
        "sld_hash": {
          "type": "string"
        },
        "provider": {
          "$ref": "#/definitions/Provider"
        },
        "contract_id": {
          "$ref": "#/definitions/ContractID"
        },
        "expiration": {
          "type": "string",
          "format": "date-time"
        },
        "nft_id": {
          "type": "integer"
        },
        "tld": {
          "$ref": "#/definitions/TLD"
        },
        "payer_account_id": {
          "$ref": "#/definitions/PayerAccountID"
        },
        "running_hash": {
          "type": "string"
        },
        "running_hash_version": {
          "type": "integer"
        },
        "sequence_number": {
          "type": "integer"
        },
        "expiry": {
          "type": "integer"
        }
      },
      "required": [
        "account_id",
        "contract_id",
        "created_timestamp",
        "delegating_spender",
        "deleted",
        "domain",
        "expiration",
        "expiry",
        "full_nft_id",
        "idx",
        "metadata",
        "modified_timestamp",
        "network",
        "nft_id",
        "payer_account_id",
        "paymenttransaction_id",
        "provider",
        "running_hash",
        "running_hash_version",
        "sequence_number",
        "serial_number",
        "sld_hash",
        "tld",
        "tld_hash",
        "token_id",
        "topic_id",
        "topictransaction_id"
      ],
      "title": "Welcome5Class"
    },
    "AccountID": {
      "type": "string",
      "enum": [
        "0.0.422755"
      ],
      "title": "AccountID"
    },
    "ContractID": {
      "type": "string",
      "enum": [
        "0.0.1238670",
        "0.0.1303155",
        "0.0.5e8e684b8ccba1195aeaefcfaa2f48f70eb46ea6",
        "0.0.1238568",
        "0.0.1366304"
      ],
      "title": "ContractID"
    },
    "Network": {
      "type": "string",
      "enum": [
        "mainnet"
      ],
      "title": "Network"
    },
    "PayerAccountID": {
      "type": "string",
      "enum": [
        "0.0.1233811"
      ],
      "title": "PayerAccountID"
    },
    "Provider": {
      "type": "string",
      "enum": [
        "piefi labs"
      ],
      "title": "Provider"
    },
    "TLD": {
      "type": "string",
      "enum": [
        "cream",
        "boo",
        "hbar"
      ],
      "title": "TLD"
    },
    "TLDHash": {
      "type": "string",
      "enum": [
        "f79d75e18e2ee2bd340fb0b605f3f2b4891370207ec8cbec3f9889e72f2ec220",
        "58af5e93661b78025033390323fe6d05a89744a5414dc9b2219cc8f2e3844833",
        "f861eb72cf942a90b9f6cfa87c4988a5cbeb2d9f48e5365bd88dbf63091584dc"
      ],
      "title": "TLDHash"
    },
    "TokenID": {
      "type": "string",
      "enum": [
        "0.0.1238605",
        "0.0.1303118",
        "0.0.1234197"
      ],
      "title": "TokenID"
    },
    "TopicID": {
      "type": "string",
      "enum": [
        "0.0.1238630",
        "0.0.1303127",
        "0.0.1234203"
      ],
      "title": "TopicID"
    }
  }
}
[
  {
    "idx": 1509,
    "account_id": "0.0.422755",
    "created_timestamp": "2023-09-01T17:03:57.492Z",
    "token_id": "0.0.1238605",
    "serial_number": 423,
    "delegating_spender": null,
    "deleted": false,
    "metadata": "bafybeiab4pzi5zp6kmpqjxn34h6ksmlm7jtwemaspljmyjph43yo4bbzq4",
    "modified_timestamp": "2023-09-01T17:03:57.492Z",
    "network": "mainnet",
    "full_nft_id": "0.0.1238605:423",
    "topic_id": "0.0.1238630",
    "paymenttransaction_id": "0.0.1233811@1693587805.144886158",
    "topictransaction_id": "0.0.1233811@1693587828.210851786",
    "domain": "testing6.cream",
    "tld_hash": "f79d75e18e2ee2bd340fb0b605f3f2b4891370207ec8cbec3f9889e72f2ec220",
    "sld_hash": "f6851506a5c95761525cb4ad704dc062442b29494e6d285e3d3991d63bc8e496",
    "provider": "piefi labs",
    "contract_id": "0.0.1238670",
    "expiration": "2026-08-31T17:03:56.000Z",
    "nft_id": 423,
    "tld": "cream",
    "payer_account_id": "0.0.1233811",
    "running_hash": "eSU9DQxLfaW63sN5cTDi341XsD5mNfNIFUY788UfrIEtHm85Lua0MEw/0twkh3T6",
    "running_hash_version": 3,
    "sequence_number": 420,
    "expiry": 1788195836
  }
]
Invalid ID supplied
Loading...